@extends('admin.pop_edit')
@section('body')
    <form id="systemUserAddForm" action="{{admin_url($baseRoute.'save')}}" class="layui-form model-form">
    <input type="hidden" name="user_id" value="{{$user_id}}">
    <input type="hidden" name="hospital_id" value="{{$hospital_id}}">
        <div class="layui-form-item">
            <label class="layui-form-label layui-form-required">所属时间:</label>
            <div class="layui-input-block">
                <input type="text" name="ctime"  class="layui-input" id="txtHfTime"
                       lay-verType="tips" lay-verify="required" required/>
            </div>
        </div>
        <input type="hidden" name="diseases_id" value='0'>
        <input type="hidden" name="source_id" value='0'>
        <div class="layui-form-item">
            <label class="layui-form-label layui-form-required">消费金额:</label>
            <div class="layui-input-block">
                <input type="text" name="money" placeholder="" class="layui-input"
                       lay-verType="tips" lay-verify="required" required/>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label layui-form-required">展现数量:</label>
            <div class="layui-input-block">
                <input type="text" name="zhanshi"  class="layui-input"
                       lay-verType="tips" lay-verify="required" required/>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label layui-form-required">点击数量:</label>
            <div class="layui-input-block">
                <input type="text" name="dianji"  class="layui-input"
                       lay-verType="tips" lay-verify="required" required/>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label layui-form-required">对话数量:</label>
            <div class="layui-input-block">
                <input type="text" name="duihua"  class="layui-input"
                       lay-verType="tips" lay-verify="required" required/>
            </div>
        </div>
        <div class="layui-form-item text-right">
            <button class="layui-btn" lay-filter="ajaxForm" lay-submit>@lang('common.save')</button>
            <button class="layui-btn layui-btn-primary" type="button"
                    ew-event="closeDialog">@lang('common.cancel')</button>
        </div>
    </form>
@stop
@push('script')
    <script type="text/javascript">
            layui.use(['laydate'], function () {
            let laydate = layui.laydate, $ = layui.$;
            laydate.render({
                elem: '#txtHfTime', 
                trigger: 'click'
            });
        })
    </script>
@endpush